<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <ui:composition>
        <h:form id="userForm">
            <ul class="userMenu">
                 <li><c:set var="rol" value="rol#{logged.loggedRol}" />
                     <a id="user"><h:outputText id="username" value="#{logged.loggedName} (#{userLabel[rol]})"/> </a>
                
             
                <ul class="firstSubLevel">
                    <li>
                        <h:commandLink action="#" value="propiedades">
                            <f:setPropertyActionListener target="# {logged.menuFolder}" value="person"/>
                            <f:setPropertyActionListener target="# {logged.packageName}" value="person"/>
                            <f:setPropertyActionListener target="# {logged.moduleName}" value="user"/>
                            <f:setPropertyActionListener target="# {logged.masterId}" value="# {logged.loggedId}"/>
                            <f:setPropertyActionListener target="# {logged.moduleAccess}" value="user"/>
                        </h:commandLink>
                    </li>

                    <li>
                        <h:commandLink action="#" value="permisos">
                            <f:setPropertyActionListener target="# {logged.menuFolder}" value="person"/>
                            <f:setPropertyActionListener target="# {logged.packageName}" value="person"/>
                            <f:setPropertyActionListener target="# {logged.moduleName}" value="user"/>
                            <f:setPropertyActionListener target="# {logged.masterId}" value="# {logged.loggedId}"/>
                            <f:setPropertyActionListener target="# {logged.moduleAccess}" value="user"/>
                        </h:commandLink>
                    </li>

                    <li><h:commandLink value="#{systemLabel.field8}" action="#{user_login.unLogin()}"/></li>
                </ul>
                </li>
            </ul>
        </h:form>
    </ui:composition>
</html>
